package mapper;

import cn.itcast.pojo.Order;
import org.apache.ibatis.annotations.Param;

public interface OrderMapper {
    Order queryOrderAndUserByOrderNumber(@Param("orderNumber") String orderNumber);

    Order queryOrderAndUserAndOrderdetailByOrderNumber(@Param("orderNumber") String orderNumber);

    Order queryOrderAndUserAndOrderdetailAndItemByOrderNumber(@Param("orderNumber") String orderNumber);

    Order queryOrderUserLazy(@Param("orderNumber") String orderNumber);
    Order queryUserAndOrderdetailAndTtemOrderNumber(@Param("orderNumber")String orderNumber);
}
